package com.vhall.component.service.rbac.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @author dalong
 * @date 2021-05-10 17:24
 */
public class AccessConstant {

    public static final Integer NORMAL_STATUS = 0;

    public static final Integer DEL_STATUS = 1;

    public static final Integer PAGE_SIZE = 20;

    public static final Map<String, String> ACCESS_MAP;

    static {
        ACCESS_MAP = new HashMap<>();
        ACCESS_MAP.put("logo下显示登录注册", "100001");
        ACCESS_MAP.put("直播助手", "100002");
        ACCESS_MAP.put("第三方推流", "10001");
        ACCESS_MAP.put("打点录制", "10002");
        ACCESS_MAP.put("分享 -- 重复了", "10003");
        ACCESS_MAP.put("播放器控制条", "10004");
        ACCESS_MAP.put("清晰度选择", "10005");
        ACCESS_MAP.put("倍速播放", "10006");
        ACCESS_MAP.put("弹幕", "10007");
        ACCESS_MAP.put("开启旁路推流", "10008");
        ACCESS_MAP.put("设置旁路布局", "10009");
        ACCESS_MAP.put("设置大屏显示", "10010");
        ACCESS_MAP.put("设置主讲人", "10011");
        ACCESS_MAP.put("操作上麦申请（同意、拒绝）", "10012");
        ACCESS_MAP.put("邀请上麦", "10013");
        ACCESS_MAP.put("申请上麦", "10014");
        ACCESS_MAP.put("开关自己音视频", "10015");
        ACCESS_MAP.put("开关他人音视频", "10016");
        ACCESS_MAP.put("下麦自己", "10017");
        ACCESS_MAP.put("下麦他人", "10018");
        ACCESS_MAP.put("全屏", "10019");
        ACCESS_MAP.put("举手开关", "10020");
        ACCESS_MAP.put("举手", "10021");
        ACCESS_MAP.put("举手列表", "10022");
        ACCESS_MAP.put("文档上传", "11001");
        ACCESS_MAP.put("文档开关", "11002");
        ACCESS_MAP.put("文档演示", "11003");
        ACCESS_MAP.put("文档翻页", "11004");
        ACCESS_MAP.put("文档画笔", "11005");
        ACCESS_MAP.put("白板", "11006");
        ACCESS_MAP.put("成员列表", "12001");
        ACCESS_MAP.put("踢出/恢复", "12002");
        ACCESS_MAP.put("禁言/恢复", "12003");
        ACCESS_MAP.put("禁言踢出列表", "12004");
        ACCESS_MAP.put("聊天审核", "12005");
        ACCESS_MAP.put("全员禁言", "12006");
        ACCESS_MAP.put("回放", "13001");
        ACCESS_MAP.put("红包", "14001");
        ACCESS_MAP.put("抽奖", "15001");
        ACCESS_MAP.put("问卷", "16001");
        ACCESS_MAP.put("问答", "17001");
        ACCESS_MAP.put("签到", "18001");
        ACCESS_MAP.put("点赞", "19001");
        ACCESS_MAP.put("表情", "20001");
        ACCESS_MAP.put("分享", "21001");
        ACCESS_MAP.put("打赏", "22001");
        ACCESS_MAP.put("公告", "23001");
        ACCESS_MAP.put("公告发送", "23002");
    }


    public static final String HOST = "1";
    public static final String GUEST = "4";
    public static final String ASSISTANT = "3";
    public static final String USER = "2";

    public static final int GUEST_REMOVE = 23002;
    public static final int ASSISTANT_REMOVE = 11004;

    public static final int USER_REMOVE1 = 23003;
    public static final int USER_REMOVE2 = 23004;
}
